/*
 * @Author: cjj
 * @Date: 2024-11-19 09:49:21
 * @LastEditors: cjj
 * @LastEditTime: 2024-11-19 10:24:20
 * @Description: 2901545842@qq.com
 */
import ajax from '@/utils/request'

import '@/mock/exchange/score'

// 获取积分数量
export function getScore(){
    return ajax({
        url: '/api/exchange/score',
        method: 'post',
    })
}
//消耗积分
export function consumeScore(data){
    console.log(data)
    return ajax({
        url:'/api/exchange/score/consume',
        method:'post',
        data:data
    })

}